//
//  DSUnitBorderView.m
//  DSJY
//
//  Created by 冯华强 on 16/9/25.
//  Copyright © 2016年 dsjy. All rights reserved.
//  选中背景的View

#import "DSUnitBorderView.h"

@implementation DSUnitBorderView

#pragma mark - 系统回调
+ (__kindof DSUnitBorderView *)unitBorderView
{
    return [[self alloc] init];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        [self setupView];
    }
    return self;
}

- (void)setupView
{
    self.backgroundColor = [UIColor clearColor];
    self.layer.cornerRadius = 20;
    self.layer.borderWidth = 4;
    self.layer.borderColor = [UIColor grayColor].CGColor;
    self.clipsToBounds = YES;
    self.alpha = 0.0;
}

@end
